Skip to content

Conversation

@b-maldoca
Copy link
Contributor

No description provided.

@b-maldoca b-maldoca requested a review from dtao-oss June 23, 2025 11:12
@b-maldoca b-maldoca changed the title fix when loading benchmark and adding description field to question a few fixes (loading benchmark, adding 2 fields to question, add html support) Nov 27, 2025
for category in benchmark.categories:
for task in category.tasks:
if isinstance(task.scorer.type, ScorerType):
scorer_values = set(item.value for item in ScorerType)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why don't you make a frozen set or add a class method in ScorerType to search so it's created once instead many times over.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants